]> dgit.raspbian.org Git - gnome-shell.git/commit
swipeTracker: Simplify finding previous point
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Nov 2025 13:34:21 +0000 (14:34 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 24 Nov 2025 13:42:59 +0000 (14:42 +0100)
commit539bff0e07d7c71b3eae60bfad70085510e393d2
tree01ce85dd3d65976a642deb8c18c7d96fc1fe11ee
parent90d908da5d855d8b3071a52720bb91f863003a02
swipeTracker: Simplify finding previous point

We have findLastIndex() nowadays to search an array in reverse
direction.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3967>
(cherry picked from commit 8e29babca8adc677fcd5bc8457f497dd849ae884)
js/ui/swipeTracker.js